home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / TECHNICA / COMPUTER / H254.ZIP / IRITSM3S.ZIP / POLY3D / MATHERR.H < prev    next >
C/C++ Source or Header  |  1990-05-05  |  847b  |  22 lines

  1. /*****************************************************************************
  2. * Global definitions of floating point errors module:                 *
  3. *                                         *
  4. * Written by:  Gershon Elber            IBM PC Ver 1.0,    Mar. 1989    *
  5. *****************************************************************************/
  6.  
  7. #ifndef MATHERRH
  8. #define MATHERRH
  9.  
  10. /* Valid action to take uppon math error occurance: */
  11. #define ME_KILL        0     /* Kill this process after printing error type */
  12. #define ME_IGNORE    1     /* Save that error, but do nothing about it */
  13. #define ME_LONGJMP    2         /* Long jump to given location if error */
  14. #define ME_CALL        3          /* Call the given routine directly */
  15.  
  16. #define HAS_GRAPHICS        /* Undef if program may work at graphic mode */
  17.  
  18. void MathErrorSetUp(int Action, void far *Addr);
  19. char *MathErrorGet(void);
  20.  
  21. #endif  MATHERRH
  22.